package com.itheima.leyou.util;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMQSender {

    @Bean
    public Queue storageQueue(){
        return new Queue("storage_queue");
    }

    @Bean
    public Queue orderQueue() {
        return new Queue("order_queue");
    }

    @Bean
    public Queue orderStatusQueue() {
        return new Queue("order_status_queue");
    }
}
